﻿@model Dexter.Web.Mvc.ViewModel.FrontEnd.HomeController.HomeIndexViewData

@{
    Layout = "../Shared/_layout.cshtml";
}

@section head 
{
	@Html.Partial("_seoPagingRelation", Model.Posts)
}

@section footer
{
	<script type="text/javascript">
			SyntaxHighlighter.config.clipboardSwf = '/media/clipboard.swf';
			SyntaxHighlighter.all();
	</script>
}

@foreach(var post in Model.Posts.Result)
{
	Html.RenderPartial("_blogPostControl", post);
}
@Html.Pager(Model.Posts)